package com.maidada.codesharebackend.model.dto.code;

import com.maidada.codesharebackend.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 代码分页查询请求
 *
 * @author wulinxuan
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CodeQueryRequest extends PageRequest implements Serializable {

    /**
     * ID
     */
    private Long id;

    /**
     * 代码标题
     */
    private String title;

    /**
     * 标签(json数组)
     */
    private String tags;

    /**
     * 创建人id
     */
    private Long creator;

    private static final long serialVersionUID = 1L;
}

